// 所有页面配置，会被 eros.dev.js 和 js/config/routes.js 引用
// 每一个键名即为routes的页面name
// url不能写后缀(.vue或.js)

// 更改该文件后，要重新打包和运行
// eros pack android && eros dev

module.exports = {
  // tab主页
  index: { url: '/pages/index' },

  // farm
  farm: { url: '/pages/farm/index', title: '鸡场' },
  'farm.create': { url: '/pages/farm/create', title: '创建鸡场' },
  'farm.auth': { url: '/pages/farm/auth', title: '认证管理' },
  'farm.product': { url: '/pages/farm/product', title: '产品管理' },
  'farm.product.new': { url: '/pages/farm/productNew', title: '添加产品' },
  'farm.product.edit': { url: '/pages/farm/productEdit', title: '修改产品' },
  'farm.product.detail': { url: '/pages/farm/productDetail', title: '产品详情' },
  'farm.cooperate': { url: '/pages/farm/cooperate', title: '客户管理' },
  'farm.dynamic': { url: '/pages/farm/dynamic', title: '发布动态' },
  'farm.manage': { url: '/pages/farm/manage', title: '鸡场管理' },
  'farm.psi': { url: '/pages/farm/psi', title: '进销管理' },
  'farm.show': { url: '/pages/farm/show' },
  'farm.info': { url: '/pages/farm/info', title: '基本信息' },
  'farm.head': { url: '/pages/farm/head', title: '鸡场秀' },
  'farm.ic': { url: '/pages/farm/ic', title: '工商认证' },
  'farm.certificate': { url: '/pages/farm/certificate', title: '添加认证' },
  'farm.dis': { url: '/pages/farm/dis', title: '入库单' },
  'farm.dis.form': { url: '/pages/farm/disForm', title: '入库单详情' },
  'farm.ship': { url: '/pages/farm/ship', title: '出库单' },
  'farm.ship.form': { url: '/pages/farm/shipForm', title: '出库单详情' },
  'farm.ship.new': { url: '/pages/farm/shipNew', title: '新增出库单' },
  'farm.chickin': { url: '/pages/farm/chickin', title: '鸡苗入栏' },
  'farm.chickin.history': { url: '/pages/farm/chickinHistory', title: '历史批次查询' },

  // 鸡舍管理
  // 'farm.chickhouse': { url: '/pages/farm/chickhouse', title: '鸡舍管理' },
  'farm.feed.manage': { url: '/pages/farm/feedManage', title: '饲养管理' },
  'farm.feed.history': { url: '/pages/farm/feedHistory', title: '历史日志' },

  // 任务
  'farm.task.feed': { url: '/pages/farm/taskFeed', title: '喂食任务' },
  'farm.task.die': { url: '/pages/farm/taskDie', title: '死淘管理' },
  'farm.task.weight': { url: '/pages/farm/taskWeight', title: '称重任务' },
  'farm.task.egg': { url: '/pages/farm/taskEgg', title: '产蛋记录' },
  'farm.task.clean': { url: '/pages/farm/taskClean', title: '清扫任务' },
  'farm.task.disinfect': { url: '/pages/farm/taskDisinfect', title: '消毒任务' },
  'farm.task.imm': { url: '/pages/farm/taskImm', title: '防疫任务' },
  'farm.task.drug': { url: '/pages/farm/taskDrug', title: '用药任务' },
  'farm.task.history': { url: '/pages/farm/taskHistory', title: '历史任务' },
  'farm.task.temperature': { url: '/pages/farm/taskTemperature', title: '温度预警' },
  'farm.task.humidity': { url: '/pages/farm/taskHumidity', title: '湿度预警' },

  // user
  login: { url: '/pages/user/login' },
  user: { url: '/pages/user/index', title: '我的' },
  'user.signup': { url: '/pages/user/signup', title: '新用户注册' },
  'user.splash': { url: '/pages/user/splash' },
  'user.info': { url: '/pages/user/info', title: '个人信息' },
  'user.realname': { url: '/pages/user/realName', title: '实名认证' },
  'user.phone.verify': { url: '/pages/user/phoneVerify', title: '验证手机号码' },
  'user.customer': { url: '/pages/user/customer', title: '我的客户' },
  'user.help': { url: '/pages/user/help', title: '帮助中心' },
  'user.help.feedback': { url: '/pages/user/feedback', title: '反馈中心' },
  'user.message': { url: '/pages/user/message', title: '我的消息' },
  'user.password': { url: '/pages/user/password', title: '修改密码' },
  'user.password.forget': { url: '/pages/user/passwordForget', title: '重置密码' },
  'user.qrcode': { url: '/pages/user/qrcode', title: '农场二维码' },
  'user.setting': { url: '/pages/user/setting', title: '设置' },
  'user.version': { url: '/pages/user/version', title: '版本更新' },

  // account
  'account.index': { url: '/pages/account/index', title: '云记账' },
  'account.record.edit': { url: '/pages/account/recordEdit', title: '记一笔' },
  'account.record.detail': { url: '/pages/account/recordDetail', title: '记账详情' },
  'account.record.list': { url: '/pages/account/recordList', title: '合计' },

  // credit
  'credit.index': { url: '/pages/credit/index', title: '金融' },
  'credit.apply': { url: '/pages/credit/apply', title: '申请贷款' },
  'credit.apply.detail': { url: '/pages/credit/applyDetail', title: '贷款详情' },
  'credit.apply.modify': { url: '/pages/credit/applyModify', title: '申请贷款' },
  'credit.increase': { url: '/pages/credit/increase', title: '增信' },
  'credit.increase.labor': { url: '/pages/credit/increaseLabor', title: '用工认证' },
  'credit.increase.policy': { url: '/pages/credit/increasePolicy', title: '政策支持' },
  'credit.increase.policy.edit': { url: '/pages/credit/increasePolicyEdit', title: '政策支持' },

  // serve
  'serve.index': { url: '/pages/serve/index', title: '我的服务' },
  'serve.insurance': { url: '/pages/serve/insurance', title: '交禽险' },
  'serve.insurance.my': { url: '/pages/serve/insuranceMy', title: '我的保单' },
  'serve.insurance.apply': { url: '/pages/serve/insuranceApply', title: '申请保单' },
  'serve.insurance.class': { url: '/pages/serve/insuranceClass', title: '农险政策' },
  'serve.insurance.class.detail': { url: '/pages/serve/insuranceClassDetail', title: '险种详情' },
  'serve.market': { url: '/pages/serve/market', title: '查行情' },
  'serve.policy': { url: '/pages/serve/policy', title: '翻政策' },
  'serve.power': { url: '/pages/serve/power', title: '看水电' },
  'serve.power.edit': { url: '/pages/serve/powerEdit', title: '水电认证' },
  'serve.produce': { url: '/pages/serve/produce', title: '比产业' },
  'serve.produce.farm': { url: '/pages/serve/produceFarm', title: '比生产' },
  'serve.standard': { url: '/pages/serve/standard', title: '学标准' },
  'serve.standard.detail': { url: '/pages/serve/standardDetail', title: '标准详情' },

  // other
  'other.monitor.video': { url: '/pages/monitor/video', title: '鸡舍视频' },

  test: {
    title: 'vimi chick test',
    url: '/pages/test'
  }
  /*
  // demo
  demo: {
    title: 'weex-eros demo',
    url: '/pages/demo/index'
  },
  'demo.lifecycle': {
    title: '生命周期',
    url: '/pages/demo/lifecycle/index'
  },
  'demo.assets': {
    title: '本地资源',
    url: '/pages/demo/assets/index'
  },
  'demo.globalAttr': {
    title: '全局属性',
    url: '/pages/demo/globalAttr/index'
  },
  'demo.inputExtend': {
    title: '文本框扩展',
    url: '/pages/demo/inputExtend/index'
  },
  'demo.refresh': {
    title: '下拉刷新',
    url: '/pages/demo/refresh/index'
  },
  'demo.storage': {
    title: '本地化存储',
    url: '/pages/demo/storage/index'
  },
  'demo.router': {
    title: '路由',
    url: '/pages/demo/router/index'
  },
  'demo.event.a': {
    title: '发布订阅-a页面',
    url: '/pages/demo/event/a'
  },
  'demo.event.b': {
    title: '发布订阅-b页面',
    url: '/pages/demo/event/b'
  },
  'demo.notice': {
    title: '弹窗通知',
    url: '/pages/demo/notice/index'
  },
  'demo.font': {
    title: '字体',
    url: '/pages/demo/font/index'
  },
  // 'demo.coms': {
  //     title: '联系功能',
  //     url: '/pages/demo/coms/index'
  // },
  'demo.image': {
    title: '图片',
    url: '/pages/demo/image/index'
  },
  'demo.bmchart': {
    title: '图表',
    url: '/pages/demo/bmchart/index'
  },
  'demo.bmrichtext': {
    title: '富文本',
    url: '/pages/demo/bmrichtext/index'
  },
  'demo.bmcalendar': {
    title: '日期',
    url: '/pages/demo/bmcalendar/index'
  },
  'demo.other.waterfall': {
    title: 'weex 瀑布流',
    url: '/pages/demo/other/waterfall'
  },
  'demo.other.bindingx': {
    title: 'bindingX',
    url: '/pages/demo/other/bindingx'
  },
  'demo.other.weex-ui': {
    title: 'weex-ui',
    url: '/pages/demo/other/weexui'
  },
  'demo.other.bui': {
    title: 'bui',
    url: '/pages/demo/other/bui'
  }
  */
}
